<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<h3 align="center">录入合同详情</h3>
	<form:form modelAttribute="details" action="${pageContext.request.contextPath }/detail/addDetails" method="post" 
	style="width: 15%; margin: auto">
		<form:hidden path="id"/>
		<form:hidden path="contractId" value="${contractId}"/>
		商品ID:<form:input path="goodsId" size="10"/>${buyDefault }<br>
		数量:<form:input path="shopNum" size="10"/><br>
		<form:hidden path="states" value="0"/><br>
		<input type="submit" value="提交">
	</form:form>
</body>
</html>